Multiple data rate interface architecture

ABSTRACT

Method and circuitry for implementing high speed multiple-data-rate interface architectures for programmable logic devices. The invention partitions I/O pins and their corresponding registers into independent multiple-data rate I/O modules each having at least one pin dedicated to the strobe signal DQS and others to DQ data signals. The modular architecture facilitates pin migration from one generation of PLDs to the next larger generation.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 11/609,249, filed Dec. 11, 2006, which is a continuation of U.S. patent application Ser. No. 11,059,299, filed Feb. 15, 2005 (now U.S. Pat. No. 7,167,023), which is a continuation of U.S. patent application Ser. No. 10,623,394, filed Jul. 18, 2003 (now U.S. Pat. No. 6,946,872), which is a continuation of U.S. patent application Ser. No. 10/038,737, filed Jan. 2, 2002 (now U.S. Pat. No. 6,806,733), which claims the benefit of U.S. provisional application No. 60/315,879, filed Aug. 29, 2001, and is related to commonly-assigned U.S. patent application Ser. No. 10/037,861, filed Jan. 2, 2002 (now U.S. Pat. No. 7,200,769), entitled “Self-Compensating Delay Chain for Multiple Data-Rate Interfaces,” by Chong et al., which are each hereby incorporated by reference in their entirety.

BACKGROUND OF THE INVENTION

The present invention relates in general to input/output (I/O) interface in integrated circuits, and in particular to method and circuitry for distributing clock signals in a programmable logic device (PLD) that employs a multiple data rate interface.

To address the data bandwidth bottleneck in the interface between integrated circuits, high speed interface mechanisms have been developed which have helped increase the speed of data transfer and data throughput. In a multiple data rate interface scheme, two or more bits of data are transferred during each clock period. One example of multiple data rate is the so called double data rate, or DDR, technology, which performs two data operations in one clock cycle and achieves twice the throughput of data. This technology has enhanced the bandwidth performance of integrated circuits used in a wide array of applications from computers to communication systems. The DDR technique is being employed in, for example, today's synchronous dynamic random access memory (SDRAM) circuits. The basic DDR implementation processes I/O data (also referred to as DQ signals) using both the rising edge and the falling edge of a clock signal DQS that functions as a data strobe to control the timing of data transfer. FIG. 1 shows the timing relationship between DQS and DQ signals. DQS is normally edge-aligned with DQ for a DDR interface operating in read mode (i.e., when receiving data at the I/Os). For optimum sampling of the data, internal to the integrated circuit, DQS is delayed by ¼ of the clock period to achieve a 90 degree phase shift between the edges of DQ and DQS. This ensures that the DQS edge occurs as close to the center of the DQ pulse as possible as shown in FIG. 1. It is desirable to implement this 90 degree phase shift as accurately and in as stable a manner as possible. However, typical phase shift techniques that use, for example, delay chains, are highly susceptible to process, voltage, and temperature (PVT) variations. In addition, typical DDR timing specifications require a wide frequency range of operation from, e.g., 133 MHz to 200 MHz. This places further demands on the performance of the phase shift circuitry. Another factor that affects DQS strobe timing is the skew between DQS and DQ. In general, for improved timing accuracy it is desirable to minimize this skew as much as possible.

The programmable logic technology has also seen an increased demand for this type of multiple data rate interface. Some of the above constraints, however, are exacerbated when implementing a DDR interface in a PLD. In a typical PLD configuration, the DQS signal is first applied to a phase locked loop (PLL) to generate the required phase shift and alignment. The DQ signals are applied directly to respective I/O registers whose clock inputs receive the phase-corrected DQS signal. There are inherent delays in the routing of the DQS signal from the DQS pin to the PLL and then to the I/O registers, where the I/O registers can be very large in numbers located at varying distances. These delays contribute to the undesirable skew between DQS and DQ. Also, the same PLD may be configured to operate at any frequency in the DDR frequency range and thus must accommodate the various clock speeds. Yet another concern is the ever aggressive increase in density and number of I/Os that is typical of the PLD technology as it moves from one generation to the next. To speed up the time-to-market cycles for future PLDs, it is desirable to devise an interface architecture that facilitates pin migration from one product family to the next.

BRIEF SUMMARY OF THE INVENTION

The present invention provides method and circuitry for implementing high speed multiple-data-rate interface architectures for programmable logic devices. In one embodiment, the invention employs a delay chain with precise phase shift control to achieve the desired phase shift in the data strobe DQS signal. I/O pins and their corresponding registers are divided into groups, with each group having at least one pin dedicated to the DQS signal and others to data (DQ) signals. An incoming DQS signal goes through the desired phase shift (e.g., 90 degrees) controlled by the phase shift control circuit, and drives a local clock interconnect line that connects to the I/O registers within the group. To facilitate efficient pin migration, in one embodiment, the invention partitions banks of I/O cells into smaller sections or groups. Each I/O section forms an independent multiple-data-rate I/O interface unit or module with dedicated DQS resources (pin, phase delay and clock line). Each module is designed such that as the number of I/O cells increases from one generation device to the next, the module can easily be scaled in size to facilitate the implementation of larger PLDs.

Accordingly, in one embodiment, the present invention provides a programmable logic device (PLD) including input/output (I/O) interface having a first plurality of I/O registers, the first plurality of I/O registers being partitioned into a second plurality of I/O sections each I/O section having N data I/O registers and a strobe circuit configured to drive a local clock line coupled to clock inputs of the N data I/O registers, the N data I/O registers and the strobe circuit in each I/O section being coupled to a corresponding number of device pins; and programmable logic circuitry coupled to the I/O interface. The strobe circuit in each I/O section is configured to programmably shift a phase of an input strobe signal. The PLD further includes a master phase control circuit coupled to receive a system clock signal and configured to generate a phase control signal that controls the amount of phase delay in the strobe circuits in the second plurality of I/O sections.

In another embodiment, the present invention provides a computing system including a multiple-data rate memory circuit coupled to a programmable logic device (PLD) via an interconnect bus, wherein the PLD is of the type described above.

In yet another embodiment, the present invention provides a method of operating a PLD including receiving N groups of data bits each group having M data signals and a corresponding data strobe signal; partitioning I/O register blocks inside the PLD into a corresponding N I/O modules, each module having M I/O register blocks and a strobe circuit coupled to receive a respective group of M data signals and data strobe signal; driving clock inputs of the M I/O register blocks in each of the N I/O modules using an independent clock network that is local to each of the N I/O modules.

The following detailed description and the accompanying drawings provide a better understanding of the nature and advantages of the programmable logic device according to the present invention.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a timing diagram illustrating the relationship between data DQ and data strobe signal DQS in a double-data rate operation;

FIG. 2 is a block diagram of an exemplary I/O module for a PLD configured for double-data-rate operation according to one embodiment of the present invention;

FIG. 3 is a simplified diagram illustrating an I/O architecture along one edge of a PLD according to an exemplary embodiment of the invention;

FIG. 4 shows an exemplary layout architecture for a PLD according to the present invention;

FIG. 5 is a block diagram of the internal circuitry of a PLD according to an exemplary embodiment of the present invention;

FIG. 6 is a block diagram of an exemplary computing system that employs a multiple-data-rate PLD according to an embodiment of the present invention; and

FIG. 7 shows an exemplary implementation for a phase control circuit according to an embodiment of the present invention.

DETAILED DESCRIPTION OF THE INVENTION

To minimize skew, accommodate a wide frequency range of operation, and facilitate rapid pin migration to larger PLDs, the present invention provides a modular multiple-data-rate I/O architecture that can be readily replicated and scaled. For illustrative purposes, the invention is described in the context of a double-data rate (DDR) system. It is to be understood, however, that the principles of this invention can be applied to systems operating at quad-data rate or higher. Referring to FIG. 2, there is shown a block diagram of an I/O module 200 for a PLD configured for DDR operation according to one embodiment of the present invention. In this embodiment, DDR interface module 200 includes a number of, in this example eight, data I/O cells each having a data I/O pin DQ and a DDR register block 202 made up of a pair of data registers R1 and R2. Module 200 also includes a strobe input cell which is preferably located at a central location visa vis other I/O cells, and includes a strobe signal pin DQS and phase delay circuit 204. Phase delay circuit 204 causes a 90 degree phase shift in the input strobe signal DQS and applies the phase shifted strobe signal to the module clock net 206 that is a local clock line dedicated to the I/O cells inside module 200. Local clock net 206 has programmable connection to drive all input registers of register blocks 202 in the DDR interface group. Thus, this DDR clock scheme allows for maintaining the clock skew between DQ and DQS to remain within a controllable range. The overall PLD I/O architecture includes multiple modules 200 each of which has its own DQS resources (DQS pin, phase shift circuit 204, and local clock net 206).

Phase shift circuit 204 is a programmably controlled delay chain that adjusts its delay in response to phase control signal PC. Phase control signal PC is a multi-bit (e.g., 6 bit) binary signal that is supplied by a master phase control circuit 208. Master phase control circuit 208 operates in response to a system clock arriving at any one of multiple clock pins 210, and is shared by a number of modules 200. In one embodiment, master phase control circuit 208 is a delay-locked loop (DLL) that takes into account the PLD operating frequency, PVT variations as well as contributions by other potential sources of delay to generate control signal PC to achieve the desired 90 degree phase shift locally in the various DDR I/O modules 200. Various embodiments for master control circuit 208 and phase shift circuit 204 are described in greater detail in the above-referenced commonly-assigned, co-pending patent application Ser. No. 10/037,861, filed Jan. 12, 2002 entitled “Self-Compensating Delay Chain for Multiple Data-Rate Interfaces,” by Chong et al. One example for an implementation of the control circuit 208 is shown in FIG. 7. Referring to FIG. 7, control circuit 700 includes frequency dividers 706 and 780, variable-delay buffers 710, 720, 730, and 740, phase detector 750, flip-flop 751, up/down counter 760, and inverter 790. The up/down counter may be a binarily-weighted, thermal, or other type of up/down counter, such as a combination binarily-weighted and thermal counter. In a specific embodiment, the counter is binarily weighted.

A system clock signal on line 705 is received by frequency divider 706. Frequency divider 706 divides the system clock signal's frequency, thereby generating the CLKIN signal on line 707. In a specific embodiment, frequency divider 706 divides the system clock frequency by 8. Alternately, other frequency divisions are possible, such a divide by 4, 16, or other value. The lower frequency CLKIN signal on line 707 is delayed by variable-delay buffers 710, 720, 730, and 740. A delayed clock signal on line 745 is provided to phase detector 750. Delay match element 770 is designed to match the delay in the frequency divider 706, and provide an output signal on line 775 to the phase detector 750. The phase detector 750 determines the phase relationship between the system clock and the delayed clock, for example, whether a rising edge of the system clock precedes a rising edge of the delayed clock. Alternately, the phase detector may determine whether a falling edge of the system clock precedes a falling edge of the delayed clock.

In a specific embodiment, phase detector 750 does this by determining the level of the delayed clock signal on line 745 at the rising edges of the clock signal on line 775. This level detection results in output signal Q1 on line 777, which is input to flip-flop 751. Flip-flop 751 is clocked by the system clock on line 705 and provides the up/down signal 755 to the up/down counter 760. A second frequency divider 780 divides the system clock's frequency, thus generating signal NCONTCLK on line 785. Again, in a specific embodiment of the present invention, frequency divider 780 divides the system clock frequency by eight. In other embodiments, this divisor may be different, such as 4, 16, or other appropriate value. The NCONTCLK signal on line 785 is inverted by inverter 790, resulting in a CONTCLK signal on line 795. The CONTCLK signal on line 795 clocks the up/down signal on line 755 into the up/down counter, resulting in the output signal Ct on bus 765.

Again, when the output of up/down counter 760 changes, the delays through the variable-delay buffers 710 through 740 change. But this change in delay is not instantaneous, and takes a finite duration to reach a final value. In a specific embodiment, frequency dividers 706 and 780 are separate frequency dividers such that their output edges may be timed to give the variable-delay buffers 710 through 740 a maximum duration in which to settle. In other embodiments, frequency dividers 706 and 780 may be the same frequency divider.

Again, the delay match element 770 is designed to match the delay between a system clock rising edge and a CLKIN rising edge on lines 705 and 707. Matching these delays enables the phase detector 750 to adjust the delay of the variable-delay buffers 710 through 740 with a minimum amount of systematic delay errors.

The variable-delay buffers 710 through 740 match or are similar to the variable-delay buffer 120 in FIG. 1. The cumulative delay provided by variable-delay buffers 710-740 is one clock cycle or 360 degrees. In a double-data-rate interface the delay of the variable-delay buffer 120 in FIG. 1 is one-fourth the cumulative delay of the variable-delay buffers 710 through 740, or one-quarter of a clock cycle or 90 degrees. In other multiple-data-rate interfaces the phase shift may be different, and there may be more variable-delay buffers like 120 in FIG. 1 providing different delays. For example, delays of 60 and 120, or 45, 90, and 135 degrees may be provided by multiple variable-delay buffers connected in series or parallel. These delays can be used in triple and quadruple-data-rate interfaces, respectively. Alternately, they may be used in other data-rate interfaces.

In other embodiments, the system clock and DQS signal may be harmonics or have frequencies that are multiple of each other. For example, the DQS signal may be the second harmonic, or have twice the frequency of the system clock. In that case, a delay of one system clock cycle in the divided system clock signal CLKIN corresponds to a two cycle delay in the DQS signal. Accordingly, eight elements may be used in the system clock delay path, while one matching element is used in the DQS path.

One skilled in the relevant art appreciates that this block diagram may be drawn differently without deviating from the scope of the present invention. For example, the phase detector 750 and flip-flop 751 may be considered as a single phase detector block. Also, the flip-flop 751 may be considered as a block inside the up/down counter 760. Further, the variable-delay buffers 710 through 740 may be in front of the frequency divider 706, or some of the variable-delay buffers 710 through 740 may be in front of the frequency divider 706, while the remainder follow it.

Referring back to FIG. 2, it is to be understood that module 200 is a specific example described herein for illustrative purposes only. Many different variations and alternatives are possible. For example, the number of I/O cells in each module 200 may vary depending on the application. In some embodiments, a module 200 may include non-DDR I/O registers. That is, a DDR interface module 200 may include, for example, eight DDR register blocks 202 plus several additional general-purpose I/O registers to add further flexibility. In a variation of this embodiment where all I/O cells and the strobe input cell are designed identically, any eight cells within the module can be selected to be DDR DQ cells, while the cell that is as close to the center as possible would be selected as the DQS cell. In this embodiment, the DQS cells that include data registers can be used as other normal data registers in non-DDR applications. In such an embodiment, the DQS cell can be programmably configured to have the DQS pin connect to phase shift circuit 204 (in case of a DDR application), or alternatively to normal I/O registers (in case of non-DDR application). In applications with higher data rates (e.g., quad data rate), module 200 may include more than one DQS cell, and DDR register blocks 202 may include more than two (e.g., four) registers.

Another advantage of the multiple-data-rate interface architecture for a PLD according to the present invention is that it allows the I/O structure to be easily scaled to a higher pin count for larger PLDs. FIG. 3 shows the I/O bank along one edge of a PLD die for two devices, 300 and 302. In this example, PLD 300 represents the smallest device in a PLD product family and PLD 302 is the largest. Both I/O banks of PLD 300 and PLD 302 are partitioned into a fixed number, e.g., 10, of DDR I/O sections 304-0 to 304-9. An exemplary embodiment for the internal resources of a DDR I/O section 304 is shown in FIG. 2. In any given PLD, each I/O section 304 includes the same number of I/O cells, e.g., 10, while for different PLDs this number will vary up to, e.g., 35. Regardless of the size of the PLD, however, each DDR I/O section 304 forms a single DDR interface module with independent DQS resources. That is, each DDR I/O section 304, whether in the smallest device in the family or the largest, includes at least one DQS pin and its associated circuitry, multiple, e.g., eight DQ pins and DQ registers, and one local clock net as shown, for example, in FIG. 2. Once again, those skilled in the art will appreciate that the I/O bank according to the present invention need not necessarily include 10 DDR I/O sections 304, and may instead include fewer or larger number of sections.

The flexibility afforded by the I/O architecture of the present invention speeds up the time-to-market cycle for new and larger PLDs. When designing a next generation PLD, because of the uncertainty regarding the eventual die size as well as the package hardware restrictions, the designer is unable to decide on the location of DQ and DQS pins until the end of the design cycle. This adds further delays to the design cycle. The present invention essentially eliminates this delay by providing a modular I/O architecture that can be easily scaled such that the boundaries of each I/O section can still be defined at an early design stage. According to one embodiment of the invention, the DDR I/O section may have a number of I/O registers that is larger than the minimum (e.g., 8) required for a particular multiple-data-rate (e.g., DDR) system. With pre-defined boundaries, however, the sections can be placed while final DQS locations can be decided at a later time from one of multiple possible pins in the DDR I/O section followed by the DQ and local clock net.

The exemplary I/O banks depicted in FIG. 3 show those along one edge of a PLD die. The modular nature of the I/O architecture of the present invention allows for many different variations in how the I/O banks are employed. Referring to FIG. 4, there is shown one example of a PLD simplified layout architecture. In this example, eight I/O banks 400 are placed in pairs along each edge of PLD die 402. Each bank 400 may be similar to the one shown in FIG. 3. I/O banks 400 connect to programmable logic core 404. Depending on the particular implementation, the PLD may include multiple master phase control circuits (208 in FIG. 2) that are shared by various combination of banks. For example, one master phase control circuit maybe used per bank to drive the DQS phase shift circuitry in each DDR I/O section within that bank. For the embodiment shown in FIG. 4, that would result in eight master phase control circuits. Alternatively, a pair of banks along each edge of the die could share one master phase control circuit. Programmable core logic 404 may be implemented using a variety of different architectures. One example of PLD core logic architecture is shown partially in FIG. 5. The PLD according to this example includes a network of fast track interconnect lines 500H and 500V that provide programmable interconnection between logic and memory resources that are arranged in blocks defined by the interconnect lines. These blocks may include look-up table (LUT) logic 502 for data path and digital signal processing functions, product term logic 504 for high-speed control logic and state machines, as well as memory 506. Other peripheral circuitry such as clock management circuit and I/O drivers 510 may also be included. A more detailed description of a PLD of the type shown in FIG. 5 can be found in data books published by Altera Corporation, and in particular the APEX II PLD family, which is hereby incorporated by reference. It is to be understood, however, that the invention is not limited to a particular type of PLD architecture and that the modular multiple-data-rate I/O architecture of the present invention can be utilized in any type of programmable logic device, many variations of which are described in Altera Corporation data books.

FIG. 6 is a block diagram of a computing system 600 that includes a multiple-data rate memory device 602 connected to a PLD 604 according to the present invention. In this example, memory device 602 may be a double-data rate synchronous dynamic random access memory (DDR SDRAM) device that bundles, e.g., eight DQ data lines with each DQS strobe line. The interconnect between memory device 602 and PLD 604 may include multiple sets of DQ/DQS lines. Memory device 602 also supplies a system clock SYSCLK to PLD 604 in addition to other control signals. PLD 604 is designed with the modular DDR I/O interface as described above. PLD 604 may be configured to perform any user-defined functionality such as a microprocessor, digital signal processor, network processor, or the like.

In conclusion, the present invention provides method and circuitry for implementing high speed multiple-data-rate interface architectures for programmable logic devices. The invention partitions I/O pins and their corresponding registers into independent multiple-data rate I/O modules each having at least one pin dedicated to the DQS signal and others to DQ data signals. The modular architecture facilitates pin migration from one generation of PLDs to the next larger generation. While the above provides detailed description of specific embodiments, it is to be understood that various alternatives, equivalents and modifications are possible. Therefore, the scope of the invention should not be limited to the embodiments described, and should instead be determined by the following claims and their full breadth of equivalents. 

1-10. (canceled)
 11. An integrated circuit comprising: a phase detector for determining a relationship between a system clock and a first delayed clock; a frequency divider for: receiving the system clock; and outputting a frequency divided system clock to an up/down counter; and the up/down counter coupled to the phase detector, wherein generation of the first delayed clock is based on a control signal provided by the up/down counter.
 12. The integrated circuit of claim 11 further comprising delay match circuitry for: generating a second delayed clock based on the system clock; and outputting the second delayed clock to the phase detector.
 13. The integrated circuit of claim 12, wherein the delay match circuitry delays the system clock based on a parameter of the frequency divider to generate the second delayed clock.
 14. The integrated circuit of claim 11 further comprising a register for: receiving an output of the phase detector; and outputting an up/down signal to the up/down counter.
 15. The integrated circuit of claim 11 for further determining the relationship between the system clock and the first delayed clock by determining whether a falling edge of the system clock precedes a falling edge of the delayed clock.
 16. The integrated circuit of claim 11, wherein the up/down counter is binarily-weighted.
 17. The integrated circuit of claim 11 further comprising a variable delay block for generating the first delayed clock.
 18. The integrated circuit of claim 17, wherein the variable delay block comprises a plurality of variable delay buffers connected in series, and wherein each of the plurality of variable delay buffers delays its respective input signal by a predetermined amount.
 19. A method for generating a phase control signal, the method comprising: receiving a system clock; determining, using a phase detector, a relationship between the system clock and a first delayed system clock; generating, using a frequency divider, a frequency divided system clock; outputting, using the frequency divider, the frequency divided system clock to an up/down counter; controlling, using the up/down counter, generation of the first delayed system clock based on a control signal provided by the up/down counter; and outputting the phase control signal based on the first delayed system clock.
 20. The method of claim 19 further comprising: generating, using delay match circuitry, a second delayed clock based on the system clock; and outputting, using the delay match circuitry, the second delayed clock to the phase detector.
 21. The method of claim 20, wherein the system clock is delayed based on a parameter of the frequency divider to generate the second delayed clock.
 22. The method of claim 19, wherein determining the relationship between the system clock and the first delayed clock further comprises determining whether a falling edge of the system clock precedes a falling edge of the delayed clock.
 23. The method of claim 19, wherein the up/down counter is binarily-weighted.
 24. The method of claim 19, wherein the first delayed clock is generated by a variable delay block.
 25. An integrated circuit comprising: a phase detector for determining a relationship between a system clock and a first delayed clock; a register for: receiving an output of the phase detector as a first input; and outputting an up/down signal to the up/down counter; a frequency divider for: receiving the system clock; and outputting a frequency divided system clock to an up/down counter; and the up/down counter coupled to the phase detector, wherein generation of the first delayed clock is based on a control signal provided by the up/down counter.
 26. The integrated circuit of claim 25, wherein the up/down counter is binarily-weighted.
 27. The integrated circuit of claim 25 for further determining the relationship between the system clock and the first delayed clock by determining whether a falling edge of the system clock precedes a falling edge of the delayed clock.
 28. The integrated circuit of claim 25 further comprising a variable delay block for generating the first delayed clock.
 29. The integrated circuit of claim 28, wherein the variable delay block comprises a plurality of variable delay buffers connected in series, and wherein each of the plurality of variable delay buffers delays its respective input signal by a predetermined amount. 